/**
 * 
 */
package org.mspring.mlog.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author fairchildy
 * @since 2012-7-24
 * @Description
 * @TODO
 */
@Entity
@Table(name = "tag")
@Embeddable
public class Tag implements Serializable {
    /**
     * 
     */
    private static final long serialVersionUID = -8479918430075598009L;
    private Long id;
    private String name;
    private String createTime;
    private Long count;
    private Long[] deleltByid;

	/**
	 * userId
	 */
	private Long uSER_ID = null;
    
	public Long[] getDeleltByid() {
		return deleltByid;
	}

	public void setDeleltByid(Long[] deleltByid) {
		this.deleltByid = deleltByid;
	}
    public Long getuSER_ID() {
		return uSER_ID;
	}

	public void setuSER_ID(Long uSER_ID) {
		this.uSER_ID = uSER_ID;
	}
    /**
     * @return the id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Long getId() {
        return id;
    }

    /**
     * @param id
     *            the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     *            the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the createTime
     */
    public String getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     *            the createTime to set
     */
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    /**
     * @return the count
     */
    @Column(name = "count", length = 30)
    public Long getCount() {
        return count;
    }

    /**
     * @param count
     *            the count to set
     */
    public void setCount(Long count) {
        this.count = count;
    }

}
